package seasons;

import junit.framework.Assert;
import junit.framework.TestCase;

public class SeasonsTest extends TestCase {
	
	public void test1(){
		Seasons test = new Seasons(1,1);
		String s = test.getSeason();
		Assert.assertEquals("Winter", s);
	}
	
	public void test2(){
		Seasons test = new Seasons(4,4);
		String s = test.getSeason();
		Assert.assertEquals("Spring", s);
	}
	
	public void test3(){
		Seasons test = new Seasons(6,26);
		String s = test.getSeason();
		Assert.assertEquals("Summer", s);
	}
	
	public void test4(){
		Seasons test = new Seasons(9,30);
		String s = test.getSeason();
		Assert.assertEquals("Fall", s);
	}
	
	public void test5(){
		Seasons test = new Seasons(16,26);
		String s = test.getSeason();
		Assert.assertEquals("Invalid date", s);
	}

}
